<template>
  <div />
</template>

<script>
export default {
  props: {
    mindMap: {
      type: Object,
      default: () => {}
    }
  },
  data() {
    return {
      images: []
    }
  },
  mounted() {
    this.mindMap.on('node_img_dblclick', this.onNodeTmgDblclick)
  },
  beforeDestroy() {
    this.mindMap.off('node_img_dblclick', this.onNodeTmgDblclick)
  },
  methods: {
    onNodeTmgDblclick() {
      // e.stopPropagation()
      // e.preventDefault()
      // this.images = [node.nodeData.data.image]
      // this.$viewerApi({
      //   images: this.images
      // })
    }
  }
}
</script>

<style></style>
